const TOKENKEY = 'user2_token'

// 获取token
export function getToken() {
    return localStorage.getItem(TOKENKEY)
}

// 设置token
export function setToken(token) {
    return localStorage.setItem(TOKENKEY, token)
}

// 删除token
export function removeToken() {
    return localStorage.removeItem(TOKENKEY)
}